﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/bootgrid")
    @RenderSection("css", required: false)
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/bootgrid")
</head>
<body>
    <div class="navbar navbar-inverse navbar-custom navbar-static-top">
        <div class="container-fluid saim-container">
            <div class="navbar-header saim-header">
                <div class="saim-logos">
                    <div class="im-logo">
                        <a href="http://www.imetalurgia.uaslp.mx"> <img src="@Url.Content("~/Content/Images/Escudo.png")"></a>
                        <br />
                        @Html.ActionLink("Sistema Administrativo", "Index", "Home", new { area = "" }, new { @class = "saim-title navbar-brand" })
                    </div>
                    <img class="main-picture" src="@Url.Content("~/Content/Images/FotoCabeza.jpg")">
                </div>
            </div>
            <div style="clear: both;"><hr style="width: 100%; margin: 0px;" /></div>
            <div>
                <button type="button" style="border-color: #286090;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse saim-collapse" id="bs-example-navbar-collapse-1">
                @Html.Partial("_LoginPartial")
                <ul class="nav navbar-nav">
                    @Html.Partial("_MenuPartial")
                </ul>
            </div>
        </div>
    </div>
    <div class="container-fluid saim-container body-content">
        @RenderBody()
        <hr />
        <footer><p>&copy; @DateTime.Now.Year - Instituto de Metalurgia</p></footer>
    </div>
    <div class="modal fade" id="notificationModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg" role="document">
            <div class="modal-content">
                <div class="modal-body">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <table id="grid-notifications" class="table table-hover table-condensed">
                        <thead>
                            <tr>
                                <th data-column-id="link" data-formatter="link">Notificaciones</th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <div class="modal-footer">
                    <button id="close-notifications" type="button" class="btn btn-primary" data-dismiss="modal">Marcar como leídas</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
    <script type="text/javascript">urlNotifications = '@Url.Action("GetUserNotifications", "Users")';</script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/Notification.js")"></script>
    @RenderSection("scripts", required: false)
</body>
</html>

